from tkinter import *
import os
import sys
import webbrowser

class App:

    def __init__(self, master):





        w = Label(master, text="Dust Bunny v0.2.5").pack(side=TOP)
        frame = Frame(master)
        frame.pack()









        w = Button(frame, text="QUIT", fg="red", command=frame.quit)
        w.pack(side=BOTTOM)

        w = Button(frame, text="9chen", command=self.ninechen)
        w.pack(side=TOP)

        w = Button(frame, text="Facebook", command=self.facebook)
        w.pack(side=TOP)

        w = Button(frame, text="garrysmod.org", command=self.gmod)
        w.pack(side=TOP)

        w = Button(frame, text="Google", command=self.google)
        w.pack(side=TOP)

        w = Button(frame, text="Gmail", command=self.gmail)
        w.pack(side=TOP)

        w = Button(frame, text="MySpace", command=self.myspace)
        w.pack(side=TOP)

        w = Button(frame, text="Porn I", command=self.porn)
        w.pack(side=TOP)

        w = Button(frame, text="Porn II", command=self.pornii)
        w.pack(side=TOP)

        w = Button(frame, text="Torrent Search", command=self.torrents)
        w.pack(side=TOP)

        w = Button(frame, text="Twitter", command=self.tweet)
        w.pack(side=TOP)

        w = Button(frame, text="Wikipedia", command=self.wiki)
        w.pack(side=TOP)

        w = Button(frame, text="WoWTF", command=self.wowtf)
        w.pack(side=TOP)

        w = Button(frame, text="YouTube", command=self.youtube)
        w.pack(side=TOP)



        w = Label(text="© 2009 Chill Pill Industries, Inc.").pack(side=BOTTOM)




    def ninechen(self):
        webbrowser.open_new_tab("http://9chen.ath.cx/")

    def facebook(self):
        webbrowser.open_new_tab("http://www.facebook.com/")

    def gmod(self):
        webbrowser.open_new_tab("http://www.garrysmod.org/")

    def google(self):
        webbrowser.open_new_tab("http://www.google.com/")

    def gmail(self):
        webbrowser.open_new_tab("http://www.gmail.com")

    def myspace(self):
        webbrowser.open_new_tab("http://www.myspace.com/")

    def porn(self):
        webbrowser.open_new_tab("http://www.redtube.com/")

    def pornii(self):
        webbrowser.open_new_tab("http://www.pornhub.com/")

    def torrents(self):
        webbrowser.open_new_tab("http://www.scrapetorrent.com/")

    def tweet(self):
        webbrowser.open("http://www.twitter.com/")

    def wiki(self):
        webbrowser.open_new_tab("http://www.wikipedia.org/")

    def wowtf(self):
        webbrowser.open_new_tab("http://wowtf.linvid.org/")

    def youtube(self):
        webbrowser.open_new_tab("http://youtube.com/")






root = Tk()

app = App(root)





root.mainloop()
